import Vue from "vue";
import App from "./App";
import http from "./common/http.js";
import util from "./common/util.js";
import message from "./common/message.js";
// import store from "./common/store.js";
import common from "./common/common.js";
import pay from "./common/pay.js";

Vue.config.productionTip = false;
Vue.prototype.http = http;
Vue.prototype.util = util;
Vue.prototype.common = common;
Vue.prototype.message = message;
Vue.prototype.pay = pay;
// Vue.prototype.store = store;

App.mpType = "app";

import cuCustom from "./components/cu-custom.vue";
Vue.component('cu-custom',cuCustom);

import bgVideo from "./components/bg-video.vue";
Vue.component('bg-video',bgVideo);

// #ifdef H5
let jweixin = require("./components/jweixin-module/index.js");
console.log(jweixin);
Vue.prototype.jweixin = jweixin;


// #endif

const app = new Vue({
    ...App
});
app.$mount();
